package com.xutong.myfunction.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.xutong.myfunction.R;

public class CustomViewActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_custom_view);



    }

    public void IntentOnClick(View v){
        Intent intent=null;
        switch (v.getId()){
            case R.id.btnQiPao:
                intent = new Intent(CustomViewActivity.this,QiPaoActivity.class);
                break;

        }

        if (intent!=null){
            startActivity(intent);
        }

    }

}
